package com.cee.service;

import com.cee.model.ExamShortAnswer;

import java.util.List;

public interface ExamShortAnswerService {

    /**
     * 物理删除试卷简答题
     * @param id
     */
    int deleteExamShortAnswerById(Integer id);


    /**
     * save 试卷简答题
     * @param examShortAnswer
     */
    int saveExamShortAnswer(ExamShortAnswer examShortAnswer);


    /**
     * examId, ExamShortAnswer LIST
     * @param examId
     * @return
     */
    List<ExamShortAnswer> getListByExamId(Integer examId);

    /**
     * upate 试卷判断
     * @param examShortAnswer
     */
    void updateExamShortAnswer(ExamShortAnswer examShortAnswer);
}
